<!DOCTYPE html>
 <html>
<head>
 <meta content="text/html; charset=UTF-8" http-equiv="content-type">
 <title>编辑 测试</title><script type="text/javascript">var yyuc_jspath = "/@system/";</script><script type="text/javascript" src="/@system/js/jquery.js"></script><script type="text/javascript" src="/@system/js/yyucadapter.js"></script>
 </head>
<body>
<html>
 <head>
 <meta content="text/html; charset=UTF-8" http-equiv="content-type">
 <title>测试-详细信息</title><script type="text/javascript">var yyuc_jspath = "/@system/";</script><script type="text/javascript" src="/@system/js/jquery.js"></script><script type="text/javascript" src="/@system/js/yyucadapter.js"></script>
 <style type="text/css">
 </style>
 </head>
 <body>
 <span>
 <a href=" /news/index.html">首页(列表页)</a>|
 <a href="add.html">新增页面</a>|
 <a href="javascript:;" onclick="history.go(-1)">后退</a>
 </span>
 <br/>
 </body>
 </html>
<!-- add.html 癿 form 癿 action 为空返样默认是当前页面，也就是 add.html。而同样癿 edit.html 癿
 form癿action也为 add.html。也就是说两个页面提交癿信息都是通过 add.php 处理癿。  -->

 <!-- save();既可以新增，也可以更新，框架是通过判断模型中是否定义了主键 ID 来区分癿 -->
 <form action="add.html" method="post">
 <?php echo $news->lable('title'); ?>：<?php echo $news->text('title'); ?><br/>
 <?php echo $news->lable('author'); ?>：<?php echo $news->text('author'); ?>
 <?php echo $news->lable('theme'); ?>：<?php echo $news->select('theme'); ?><br/>
 <?php echo $news->lable('posttime'); ?>：<?php echo $news->date('posttime'); ?>
 <?php echo $news->lable('status'); ?>:<?php echo $news->checkbox('status'); ?><br/>
 <?php echo $news->lable('content'); ?>：<br/>
 <?php echo $news->texteditor('content'); ?><br/>
 <button type="submit">提交</button>
 <?php echo $news->hidden('id'); ?><br/>
 </form>
 </body>
 </html>